﻿@model XSTDZ.ERP.Application.DataContracts.ProductReturnBillDto

@{
    ViewBag.Title = " - 查看销售退货";
}
@section header{
     <link href="@Url.Content("~/Content/Controls.css")" rel="stylesheet" type="text/css" />
 <link href="@Url.Content("~/Content/Form.css")" rel="stylesheet" type="text/css" />
}
<div class="wp100">

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)

      <table class="formtable">
    <thead>
        <tr>
            <th colspan="4">
            <div id="toptoolbar"></div>
            </th>
        </tr>
    </thead>

     <tr>
       
        <td class="title"> @Html.LabelFor(model => model.ReturnBillNo)</td>
        <td> @Html.TextBoxFor(model => model.ReturnBillNo, new { @class = "text disablebg", @readonly = "readonly" })
        @Html.ValidationMessageFor(model => model.ReturnBillNo)
         <input type="hidden" value="@ViewBag.TempId" id="hidbillDetailId" name="hidbillDetailId" />
          @Html.HiddenFor(model => model.Id)
          @Html.HiddenFor(model => model.BillState)
          @Html.HiddenFor(model => model.AuditState)
        </td>

        <td class="title">@Html.LabelFor(model => model.StorehouseID)<b>*</b></td>
        <td>  @Html.TextBoxFor(model => model.StorehouseName, new { @class = "text disablebg", @readonly = "readonly" })
          @Html.HiddenFor(model => model.StorehouseID)
            @Html.ValidationMessageFor(model => model.StorehouseID)
         </td>
  </tr>
         <tr>
       
        <td class="title"> @Html.LabelFor(model => model.AcceptID)<b>*</b></td>
        <td> @Html.TextBoxFor(model => model.AcceptName, new { @class = "text disablebg", @readonly = "readonly" })
         @Html.HiddenFor(model => model.AcceptID)
        @Html.ValidationMessageFor(model => model.AcceptID)
        </td>

         <td class="title"> @Html.LabelFor(model => model.ReturnTime)<b>*</b></td>
        <td> @Html.TextBoxFor(model => model.ReturnTime, new { @class = "text disablebg", @readonly = "readonly" })
         <input type="hidden" value="@Model.ReturnTime" id="ReturnTimeVal" name="ReturnTimeVal" />
        @Html.ValidationMessageFor(model => model.ReturnTime)
        </td>
  </tr> 
        
          <tr>
       
        @*<td class="title"> @Html.LabelFor(model => model.ReturnMoney)</td>
        <td> @Html.TextBoxFor(model => model.ReturnMoney, new { @class = "text disablebg", @readonly = "readonly" })
        
        @Html.ValidationMessageFor(model => model.ReturnMoney)
        </td>*@

         <td class="title"> @Html.LabelFor(model => model.ClientID)<b>*</b></td>
        <td> @Html.TextBoxFor(model => model.ClientName, new { @class = "text disablebg", @readonly = "readonly" })
         @Html.HiddenFor(model => model.ClientID)
        @Html.ValidationMessageFor(model => model.ClientID)
        </td>
         <td class="title"> @Html.LabelFor(model => model.Remarks)</td>
        <td> @Html.TextBoxFor(model => model.Remarks, new { @class = "text disablebg", @readonly = "readonly" })
        @Html.ValidationMessageFor(model => model.Remarks)
        </td>
  </tr> 
@*
        <tr>
       
        <td class="title"> @Html.LabelFor(model => model.Remarks)</td>
        <td> @Html.TextBoxFor(model => model.Remarks, new { @class = "text disablebg", @readonly = "readonly" })
        @Html.ValidationMessageFor(model => model.Remarks)
        </td>

        <td class="title"></td>
        <td>  
         </td>
  </tr> *@

    </table>
}
</div>
<div class="wp100">
<div id="ProductReturntemsGrid" style="margin-top:20px" ></div>
</div>
<script type="text/javascript" src="@Url.Content("~/Content/js/ProductReturn/Detail.js")"></script>
<script type="text/javascript" src="@Url.Content("~/Content/js/formBase.js")"></script>